<?php
if ($ticket_parent!=1) {
	header('Location: class_manager.php');
	exit;
}
?>
<div id="header">
<div id="branding"><a class="left" title="Go to board index"
	href="http://www.agony-unleashed.com"> <img alt="Logo"
	src="images/5_5_Agony-Header.jpg"> </a>
	<h1 id="title" class="left">Class Manager</h1></div>
	
</div>


<div id="primary_nav">
<ul>
	<li class="left <?php if($page=="upcoming") echo "active";?>"><a title="Upcoming Classes"
		href="class_manager.php?page=upcoming">Upcoming Classes</a></li>
	<?php if(is_logged_in()) {?>
	<li class="left <?php if($page=="my_classes") echo "active";?>"><a title="My Classes"
		href="class_manager.php?page=my_classes">My Classes</a></li>
	<?php 	if(is_admin()) {?>
	<li class="left <?php if($page=="admin") echo "active";?>"><a title="Admin"
		href="class_manager.php?page=admin">Admin</a></li>
	<?php 	}
		  }?>
</ul>
</div>
